package com.huirui.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.huirui.server.pojo.entity.Seckill;
import com.huirui.server.pojo.vo.SeckillVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author yujun
 * @description 针对表【t_seckill(秒杀活动表)】的数据库操作Mapper
 * @createDate 2025-11-01 19:30:56
 * @Entity com.huirui.server.pojo.entity.Seckill
 */
public interface SeckillMapper extends BaseMapper<Seckill> {

    IPage<SeckillVo> listSeckillProduct(@Param("productName") String productName, IPage<SeckillVo> ipage);

    SeckillVo getSeckillProductById(@Param("productId") Long productId);

}




